added samples
[windows-sources.git] / sdk / samples / all in on code / Visual Studio 2010 / VBASPNETIPtoLocation / App_Code / Location.vb
blob8272f3132c2136b28273cd0b5c2652380b9609c2
1 '*************************** Module Header ********************************\
2 ' Module Name: Location.vb
3 ' Project: VBASPNETIPtoLocation
4 ' Copyright (c) Microsoft Corporation
6 ' This project illustrates how to get the geographical location from a db file.
7 ' You need install Sqlserver Express for run the web applicaiton. The code-sample
8 ' only support Internet Protocol version 4.
9 '
10 ' This class is IP location information entity class.
12 ' This source is subject to the Microsoft Public License.
13 ' See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
14 ' All other rights reserved.
16 ' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
17 ' EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
18 ' WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
19 '*****************************************************************************/
22 Public Class Location
23 Public Property BeginIP As String
24 Public Property EndIP As String
25 Public Property CountryTwoCode As String
26 Public Property CountryThreeCode As String
27 Public Property CountryName As String
28 End Class